﻿using Infrastructure.Web;
using MyData.ApiDto;
using MyData.Data.Repository;
using MyData.Dto;
using MyData.Models;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace MyDomain
{
   public interface IVisitorRepository : IRepositoryBase<Visitor>
    {
        bool SaveVisitor(Visitor visitor);

        bool SaveConfirmVisitor(Visitor visitor);
        bool DeleteVisitor(Guid Id);
       
        bool VisitorConfirm(Guid Id);
        bool DeleteVisitorOutTime();

        /****************************会议用户*************************************************************/
        bool SaveMeet(MeetUser meetUser);
        PageDto<MeetUserDto> GetCompanyUser(QueryListModel query, string company, string meetId);
        bool DeleteCompanyUser(Guid Id);
        MeetUserDto GetCompany(Guid Id);
        WelDto GetWelDto();
        SynsMeetUser GetSynsMeetUser(Guid mobileId);
    }
}
